GLOBAL.setfenv(1, GLOBAL)

local Inventory = require("components/inventory")

local _ApplyDamage = Inventory.ApplyDamage
function Inventory:ApplyDamage(damage, attacker, weapon, spdamage, ...)
    if attacker and attacker:HasTag("ignore_armor") then
        return damage, spdamage
    end

    return _ApplyDamage(self, damage, attacker, weapon, spdamage, ...)
end
